<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>运价方案pricePlan</title>
	</head>
	<link rel="stylesheet" href="../css/common.css" />
	<link rel="stylesheet" href="../css/less/common_less.css" />
	<link rel="stylesheet" href="../css/pricePlan.css" />
	<style>
	</style>
	<body>
		<div class='Dolo_searchPanle'>
			<p>
				<span>方案编号<input type='text' id="number"/></span>
			<!--<span>开始日期<input class='datespicker' id="startDate" onFocus="new WdatePicker({dateFmt:'yyyy-MM-dd'})" type='text'/></span>
				<span>结束日期<input class='datespicker' id="endDate" onFocus="new WdatePicker({dateFmt:'yyyy-MM-dd'})" type='text'/></span>	  -->				
				<span>航班出发日期<input class='datespicker' id="departureDate" onFocus="new WdatePicker({dateFmt:'yyyy-MM-dd'})" type='text'/></span>
				<span>方案类型 <select class='planSort' id="type">
								<option value="">全部</option>
								<option value="QW">切位</option>
								<option value="SK">散客</option>
							</select>
				</span>
		
				<span style='float:right;margin-right:20px;' class="newright">
					<button class="querySpan searchBtn" id="btnSearch"><i class="iconfont setIcon">&#xe661;</i>查询</button>
				<!-- 	<button class='newSeriesBtn newPlan'><i class="iconfont setIcon">&#xe627;</i>新建方案</button> -->
					<!-- <button class='newSeriesBtn freeTicketPlan'><i class="iconfont setIcon">&#xe627;</i>免票方案</button> -->
				</span>
			</p>
		</div>
		
		<div class='dataTable'>			
			<table id="dataTable">
				<thead>
					<tr class='topTr theadtr'>
						<th>方案编号</th>
						<th>开始日期</th>
						<th>结束日期</th>
						<th>方案类型</th>
						<th>舱位</th>
						<th class="poer">操作</th>
					</tr>			
				</thead>				
				<tbody class="clear">	
				
				</tbody>			
			</table>
		</div>
		
		<!-- 分页功能 -->
		<div class='Pagination'></div>
	</body>
		<script type="text/javascript" src="../js/jquery-1.12.4.js" ></script>
		<script type="text/javascript" src="../js/jquery.freezeheader.js" ></script>
		<script type="text/javascript" src="../layer-v2.4/layer/layer.js" ></script>
		<!-- 引入my97日期时间控件 -->
		<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js" charset="utf-8"></script>	
		<script type="text/javascript" src="../js/common.js" ></script>
		
		<script>
			/*票损方案权限管理*/
			var newpriceStr="";
			<#if resList?seq_contains("ak/pricePlan/newplan")>			
			newpriceStr+='<button name="ak/pricePlan/newplan" class="newSeriesBtn newPlan"><i class="iconfont setIcon">&#xe627;</i>票损方案</button>';
			</#if>	
			$(".newright").append(newpriceStr);
			
			/*免票方案权限管理*/
			var freeTicketPlanStr="";
			<#if resList?seq_contains("ak/pricePlan/freeTicketPlan")>			
			freeTicketPlanStr+='<button name="ak/pricePlan/freeTicketPlan" class="newSeriesBtn freeTicketPlan"><i class="iconfont setIcon">&#xe627;</i>免票方案</button>';
			</#if>	
			$(".newright").append(freeTicketPlanStr);
			
			/*编辑按钮权限管理*/
			var editStr="";
			<#if resList?seq_contains("ak/pricePlan/editplan")>
			editStr+="<input type='hidden' class='editplan'  value='1'>";
			</#if>
			$(".Dolo_searchPanle").append(editStr);
			
			/*新增日期按钮权限管理*/
			var addDateStr="";
			<#if resList?seq_contains("ak/pricePlan/newdate")>
			addDateStr+="<input type='hidden' class='addDate'  value='1'>";
			</#if>
			$(".Dolo_searchPanle").append(addDateStr);
			/*关闭按钮权限管理*/
			var delplanStr="";
			<#if resList?seq_contains("ak/pricePlan/del")>
			delplanStr+="<input type='hidden' class='delplan'  value='1'>";
			</#if>
			$(".Dolo_searchPanle").append(delplanStr);
		</script>	
		<script type="text/javascript" src="../js/pricePlan.js" ></script>	
</html>
